const random = Math.floor(1+Math.random()*100);
const random2 = Math.floor(1+Math.random()*8);
exports.encrypto=function(str){
       
        const heade = randomfn(8) + randomfn(8);
        const lest  = randomfn(8) + randomfn(8);
        const  meddle = str
        const result = heade+meddle+lest;
       return result;
    }
exports.decrypto = function(str){
    let result =str.substr(8 * 2);
     result = result.substr(0,(result.length)-16);
    return result;
}

function randomfn(random2){

    return Math.random().toString(32).slice(-random2)
}